[Chapter 27] 27.3 V8 Comments
Author: Bryan Costales & Eric Allman
Date: 1999-01-06T19:49:49Z

#

| Chapter 27 The Configuration File |

## 27.3 V8 Comments

Beginning with V8 sendmail, for configuration files version 3 and above (see Section 27.5), all lines of the configuration file may have optional trailing comments. That is, all text from the first `#` character to the end of the line is ignored. Any whitespace (space or tab characters) leading up to the `#` is also ignored:

>     CWlocalhost mailhost  # This is a comment

>                         from here to end of line ignored

To include a `#` character in a line under V8 sendmail, precede it with a backslash:

>     DM16\#megs

Note that you do not need to escape the `#` in the `$#` operator. The `$` has a higher precedence, and `$#` is interpreted correctly.

27.2 Comments |  | 27.4 Continuation Lines